﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SPGenesis.Entities;


namespace Akrad.Portal.Core.Entitys.MContents.Category
{
    public partial class CategoryMaping:SPGENEntityMap<CategoryEntity>
    {
        protected override void InitializeMapper()
        {

            RegisterIdentifierProperty(p => p.Id);
            MapField(p => p.Title, "Title");
            MapField(p => p.NumberNews, CategoryIntances.NumberNews.InternalName);
            MapField(p => p.OrderId, CategoryIntances.OrderId.InternalName);
            MapField(p => p.SiteId, CategoryIntances.SiteId.InternalName);
            MapField(p => p.Statust, CategoryIntances.NumberNews.InternalName);

        }

    }
}
